def lc(n):  
    if n > 2:  
        a = 1  
        b = 1  
        for i in range(3, n + 1):  
            fib = a + b  
            a = b  
            b = fib  
        return fib  
    else:  
        return 1  
  
start_index = int(input())  
end_index = int(input())  
  
if start_index > end_index:  
    start_index, end_index = end_index, start_index  
  
for i in range(start_index, end_index + 1):  
    print(lc(i))